/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sessionbean;

import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Admin
 */
@Local
public interface UserSessionBeanLocal {

    boolean insert(String username, String password, String phone, String birthday, String sex, String address, Date joindate, String status);

    boolean checkExistUser(String username);

    List viewAll();

    List search(String username);

    boolean update(int userId, String username, String password, String phone, String birthday, String sex, String address, Date joindate, String status);

    
    
}
